package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysAppBookchapters;

/**
 * 书籍章节Service接口
 * 
 * @author ruoyi
 * @date 2020-09-07
 */
public interface ISysAppBookchaptersService 
{
    /**
     * 查询书籍章节
     * 
     * @param deptId 书籍章节ID
     * @return 书籍章节
     */
    public SysAppBookchapters selectSysAppBookchaptersById(Long deptId);
    
    /**
     * 获取文章内容
     * @param deptId
     * @return
     */
    public SysAppBookchapters selectContentById(Long deptId);

    /**
     * 查询书籍章节列表
     * 
     * @param sysAppBookchapters 书籍章节
     * @return 书籍章节集合
     */
    public List<SysAppBookchapters> selectSysAppBookchaptersList(SysAppBookchapters sysAppBookchapters);

    /**
     * 新增书籍章节
     * 
     * @param sysAppBookchapters 书籍章节
     * @return 结果
     */
    public int insertSysAppBookchapters(SysAppBookchapters sysAppBookchapters);

    /**
     * 修改书籍章节
     * 
     * @param sysAppBookchapters 书籍章节
     * @return 结果
     */
    public int updateSysAppBookchapters(SysAppBookchapters sysAppBookchapters);

    /**
     * 批量删除书籍章节
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysAppBookchaptersByIds(String ids);

    /**
     * 删除书籍章节信息
     * 
     * @param deptId 书籍章节ID
     * @return 结果
     */
    public int deleteSysAppBookchaptersById(Long deptId);
    
    /**
     * 获取
     * @param sysAppBookchapters
     * @return
     */
    public int selectSysAppBookchaptersCount(SysAppBookchapters sysAppBookchapters);
}
